package com.ls.fw.search.solrj.form.collection;

import org.hibernate.validator.constraints.NotBlank;

/**
 * Request the status and response of an already submitted Asynchronous
 * Collection API call. This call is also used to clear up the stored statuses
 * (See below).
 * 
 * @author ls
 *
 */
public class RequestStatusForm {

	// The user defined request-id for the Asynchronous request.
	@NotBlank
	private String requestid;
	@NotBlank
	private String action = "REQUESTSTATUS";

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getRequestid() {
		return requestid;
	}

	public void setRequestid(String requestid) {
		this.requestid = requestid;
	}

}
